package com.mywork.activity;

import android.webkit.WebView;

import com.ciko.code.base.BaseActicity;
import com.mywork.R;

/**
 * Created by ciko on 2015/12/6.
 */
public class WebActivity extends BaseActicity {

    private String url = "";

    private WebView webview;

    @Override
    protected void initTopBar() {

        url = getIntent().getStringExtra("URL");
        setTitle("详情");
        enableNavLeftImg();
    }

    @Override
    protected void initLayout() {
        setContentView(R.layout.activity_web);
    }

    @Override
    protected void initView() {
        webview = (WebView) findViewById(R.id.webview);
        webview.loadUrl(url);
    }

    @Override
    protected void initAdapter() {

    }

    @Override
    protected void initDates() {

    }

    @Override
    protected void initListener() {

    }

    private void webViewSetting() {

    }
}
